import java.io.Serializable;

public class User implements Serializable {
    private String username;
    private String password;
    private String name;
    private String contact;
    private String studentId;
    private String major;
    private String role; // "Member", "President", "VicePresident", "Advisor"

    public User(String username, String password, String name, String contact, String studentId, String major, String role) {
        this.username = username;
        this.password = password;
        this.name = name;
        this.contact = contact;
        this.studentId = studentId;
        this.major = major;
        this.role = role;
    }

    // Getters and Setters
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
